<?php
/**
 * @file
 * Theme setting callbacks for the weebpal_backend theme.
 */
include_once(drupal_get_path('theme', 'weebpal_backend') . '/common.inc');

/**
 * Implements hook_form_FORM_ID_alter().
 *
 * @param $form
 *   The form.
 * @param $form_state
 *   The form state.
 */
function weebpal_backend_form_system_theme_settings_alter(&$form, &$form_state) {

  $form['weebpal_backend_admin_secondary_menu'] = array(
    '#type' => 'radios',
    '#title' => t('Admin secondary menu'),
    '#options' => menu_get_menus(),
    '#default_value' => theme_get_setting('weebpal_backend_admin_secondary_menu'),
  );
}